package team.seekers.oj.homework.conventer;

import team.seekers.oj.contest.converter.BaseContestConverter;
import team.seekers.oj.contest.converter.ContestConvertUtils;
import team.seekers.oj.contest.dto.ContestDTO;
import team.seekers.oj.contest.entity.ContestDO;
import team.seekers.oj.homework.dto.HomeworkDTO;
import team.seekers.oj.homework.entity.HomeworkDO;

@org.mapstruct.Mapper(
        componentModel = "spring",
        imports = {HomeworkConvertUtils.class}
)
public interface HomeworkConverter extends BaseHomeworkConverter<HomeworkDO, HomeworkDTO> {

    HomeworkDTO to(HomeworkDO source);


}